Path Queries on Functions

نویسندگان

  • Travis Gagie
  • Meng He
  • Gonzalo Navarro
چکیده

Let f : [1..n] → [1..n] be a function, and ` : [1..n] → [1..σ] indicate a label assigned to each element of the domain. We design several compact data structures that answer various queries on the labels of paths in f . For example, we can find the minimum label in f(i) for a given i and any k ≥ 0 in a given range [k1..k2], using n lgn+O(n) bits, or the minimum label in f−k(i) for given i and k > 0, using 2n lgn+O(n) bits, in time O(lgn/ lg lgn). By using n lg σ+o(n lg σ) further bits, we can also count, within the same time, the number of elements within a range of labels, and report each such element in O(1+lg σ/ lg lgn) additional time. Several other possible queries are considered, such as top-t queries and τ -majorities. Digital Object Identifier 10.4230/LIPIcs...

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

New Rewritings and Optimizations for Regular Path Queries

All the languages for querying semistructured data and the web use as an integral part regular expressions. Based on practical observations, finding the paths that satisfy those regular expressions is very expensive. In this paper, we introduce the “maximal partial rewritings” (MPR’s) for regular path queries using views. The MPR’s are always exact and more useful for the optimization of the re...

متن کامل

Estimating Result Size and Execution Times for Graph Queries

In recent years several languages have been proposed to pose queries on graphs. These languages allow to state graph queries that contain multiple node and path variables. Nodes and paths of the graph are incrementally bound to these variables when evaluating the query. For an efficient execution the order of the bindings is important. To optimize this order we must be able to estimate the size...

متن کامل

Database Support for Path Query Functions

Extending relational database functionality to include data mining primitives is one step towards the greater goal of more closely integrated database and mining systems. This paper describes one such extension, where database technology is used to implement path queries over a graph view of relational data. Partial-path information is pre-computed and stored in a compressed binary format in an...

متن کامل

Extending the Qualitative Trajectory Calculus Based on the Concept of Accessibility of Moving Objects in the Paths

Qualitative spatial representation and reasoning are among the important capabilities in intelligent geospatial information system development. Although a large contribution to the study of moving objects has been attributed to the quantitative use and analysis of data, such calculations are ineffective when there is little inaccurate data on position and geometry or when explicitly explaining ...

متن کامل

Se p 20 02 Path Integration on a Quantum Computer ∗

We study path integration on a quantum computer that performs quantum summa-tion. We assume that the measure of path integration is Gaussian, with the eigenvalues of its covariance operator of order j −k with k > 1. For the Wiener measure occurring in many applications we have k = 2. We want to compute an ε-approximation to path integrals whose integrands are at least Lipschitz. We prove: • Pat...

متن کامل

A Study of a Positive Fragment of Path Queries: Expressiveness, Normal Form, and Minimization

We study the expressiveness of a positive fragment of path queries, denoted Path, on node-labeled trees documents. The expressiveness of Path is studied from two angles. First, we establish that Path is equivalent in expressive power to a particular sub-fragment as well as to the class of tree queries, a sub-class of the first-order conjunctive queries defined over label, parent-child, and chil...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2017